﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    RegistrarDepartamento
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/Departamento.js") %>" type="text/javascript"></script>


    <div id="Registrar"> 
    <h2>Registrar Departamento</h2>
    <br />

     <label class="Obligatorio">Los campos con (*) son obligatorios</label><br></br>

    <label>Edificio: (*)</label>
    <select id="RegSctEdificio" onchange="cargarPisosRegistrar()" class="text ui-widget-content ui-corner-all"></select>
    <br></br>
                 
    <label>Tipo: (*)</label>
    <select id="RegSctTipo" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Piso: (*)</label>
    <select id="RegSctPiso" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Número: (*)</label>
    <input type="text" id="RegTbxNumero" class="text ui-widget-content ui-corner-all" maxlength="4"/>
    <label id="RegLblErrorNumero" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Área: (*)</label>
    <input type="text" id="RegTbxArea" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="RegLblErrorArea" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Habitaciones: (*)</label>
    <input type="text" id="RegTbxHabitacion" class="text ui-widget-content ui-corner-all" maxlength="1"/>
    <label id="RegLblErrorHabitacion" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Baños: (*)</label>
    <input type="text" id="RegTbxBanio" class="text ui-widget-content ui-corner-all" maxlength="1"/>
    <label id="RegLblErrorBanio" class="erroresClase" style="color: Red"></label>
    <br></br>
    

    <input type="submit" id = "RegBtnRegistrar" value="Registrar" class="submit-button"/>
    <input type="submit" id = "RegBtnCancelar" value="Cancelar" class="submit-button" />
   
    </div>
    <div id="Modificar"></div>
    <div id="Eliminar"></div>
    <div id="Buscar"></div>

</asp:Content>
